package online.inote.dic.api.base;

import javax.servlet.http.HttpServletRequest;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;

import online.inote.dic.model.base.IdEntity;
import online.inote.dic.security.annotions.Security;
import online.inote.dic.service.base.BaseService;

/**
 * @description: 基础Controller
 * @author XQF.Sui
 * @created 2019年6月10日 下午11:06:19
 * @version 1.0
 */
@Security
public class BaseController<T extends IdEntity, ID> {
	
	@Autowired
	protected HttpServletRequest request;
	
	protected Logger logger = LoggerFactory.getLogger(getClass());
	
	@Autowired
	protected BaseService<T, ID> service;
	
}